import {postBody, postMultipart} from '../post'
import commentApi from '../../config/api/commentApi'
import {get} from "../get";

export function uploadGoodsCommentImg(obj, token) {
  return postMultipart(commentApi.uploadGoodsCommentImg, obj, token);
}
export function addAnewComment(obj, token) {
  return postBody(commentApi.addAnewComment, obj, token)
}
export function orderServiceEvaluate(obj, token,randomKey) {
  return postBody(commentApi.orderServiceEvaluate, obj, token,randomKey)
}
export function orderItemEvaluate(obj, token,randomKey) {
  return postBody(commentApi.orderItemEvaluate, obj, token,randomKey)
}
export function orderItemEvaluateShare(obj, token,randomKey) {
  return postBody(commentApi.orderItemEvaluateShare, obj, token,randomKey)
}
export function findOrderItemEvaluatesByGoods(obj, token) {
  return get(commentApi.findOrderItemEvaluatesByGoods, obj, token);
}

